<template>
  <div>
		<Header/>
		<!-- 导航区域 -->
		<div class="col-xs-2 col-xs-offset-2">
			<!-- 在Vue中，我们使用xxxx标签，实现路径的修改 -->
			<!-- to的字符串写法 -->
			<router-link class="list-group-item" active-class="active" to="/about">About</router-link>
			<!-- to的对象写法 -->
			<router-link class="list-group-item" active-class="active" :to="{path:'/home'}">Home</router-link>
		</div>
		<!-- 展示区 -->
		<div class="col-xs-6 panel panel-body panel-primary">
			<!-- 占位 -->
			<router-view></router-view>
		</div>
	</div>
</template>

<script>
	import Header from './components/Header.vue'
  export default {
    name:'App',
		components:{Header}
  }
</script>

